home *** CD-ROM | disk | FTP | other *** search
/ Ahoy 1986 July / Ahoy_Magazine_86-07_1986_Double_L.d64 / dir editor.txt < prev    next >
Text File  |  2022-10-26  |  2KB  |  89 lines

  1.         1541 Directory Editor
  2.                    
  3.             by Robert Ross
  4.  
  5.  
  6. This program is a directory editor
  7. for all 1541 compatible drives (1541,
  8. MSD, Indus, etc). It will allow you
  9. to read a disk directory into memory,
  10. manipulate it (sort, add, delete
  11. entries, protect / unprotect entries,
  12. etc), and write the updated directory
  13. back onto the disk. This will not
  14. change the programs or data on the
  15. disk, only the directory. Try this
  16. program only on test disks until you
  17. are familiar with its operation.
  18.  
  19. NOTE: some letters stand for
  20. different options when shifted.
  21.  
  22.                OPTIONS:
  23.  
  24. 'r' read directory of disk in unit 8,
  25.      drive 0
  26. 'L' list a range of entries
  27. 'l' list up to current entry
  28. '+' add 1 to current entry
  29. '-' subtract 1 from current entry
  30. 'C' set new curren entry
  31. 'i' make space to insert entries
  32. 'd' delete entries (old entries saved
  33.      at top)
  34. 'W' write entries, 1 to high, to
  35.      unit 8, drive 0
  36. 'e' edit an entry
  37. 's' swap 2 entries
  38. 'c' copy one entry to another
  39. 'S' sort entries
  40. 'p' protect range of entries
  41. 'u' unprotect range of entries
  42. 'z' zero a range of entries
  43. 'h' set high entry
  44. 'H' help screen
  45. 'RUN/STOP' usually stops program
  46.  
  47. 24 data bytes are stored for each
  48. entry.
  49.                SORTING
  50.  
  51. Sorting may be done on from 1 to all
  52. 24 bytes of the entries. Sort
  53. direction (><) may be set for each
  54. byte: '>' means 'a' will preceed 'b'
  55. after the sort. 'width' (1-24) is the
  56. # of characters used for comparing
  57. entries. '1st' and 'last' give the
  58. entry sort range.
  59.  
  60. 'specify' allows the order and
  61. direction of sorting to be set; the
  62. letters a to x stand for the 24
  63. bytes:
  64.  
  65. [a=file type;
  66.  b,c=track,sector of first block;
  67.  d-s=file name;
  68.  t,u=track,sector for the first
  69.      side sector of a relative file;
  70.  v=relative file record length;
  71.  w,x=low byte,high byte of file
  72.      length].
  73.  
  74. e.g.:'width'=1, order="a...",
  75. direction="<..." would sort by
  76. decreasing file type groups.
  77.  
  78. 'names' sets a default order with d-s
  79. at the start and all directions = '>'
  80.  
  81.          PROTECTING PROGRAMS
  82.  
  83. You can protect programs from being
  84. scratched or deleted with the 'p'
  85. option. To do only one entry, give
  86. the same number for the first and the
  87. last of the range identifier. You can
  88. unprotect them with the 'u' option.
  89.